﻿using NDBGen.Plugins;
using NDBGen.Plugins.Database;

namespace NDBGen.Tests
{
    public abstract class DatabaseGeneratorUnitTestBase<TGenerator> : GeneratorUnitTestBase<DatabaseGeneratorPluginData, TGenerator>
        where TGenerator : IFileGenerator<DatabaseGeneratorPluginData>, new()
    {
        protected override DatabaseGeneratorPluginData GetPluginData(ParsedInput parsedInput)
        {
            return parsedInput.CreateDatabasePluginData();
        }
    }
}